Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purges old accounts hash cache dirs #33183

Conversation

brooksprumo
Copy link
Contributor

@brooksprumo brooksprumo commented Sep 7, 2023

Problem

The accounts hash cache dirs have been renamed/removed in #33164 and #33181. We do not want the old directories remaining on the filesystem taking up space.

A node operator could manually remove these old directories, but an automatic method is more user friendly.

Summary of Changes

Purges old accounts hash cache dirs

@brooksprumo brooksprumo added work in progress This isn't quite right yet noCI Suppress CI on this Pull Request labels Sep 7, 2023
@brooksprumo brooksprumo self-assigned this Sep 7, 2023
@brooksprumo brooksprumo added the v1.16 PRs that should be backported to v1.16 label Sep 11, 2023
@brooksprumo brooksprumo force-pushed the accounts-hash-cache/remove-old-dirs branch from de63526 to f7e97d4 Compare September 12, 2023 15:27
@brooksprumo brooksprumo added CI Pull Request is ready to enter CI and removed work in progress This isn't quite right yet noCI Suppress CI on this Pull Request v1.16 PRs that should be backported to v1.16 labels Sep 12, 2023
@solana-grimes solana-grimes removed the CI Pull Request is ready to enter CI label Sep 12, 2023
@brooksprumo brooksprumo marked this pull request as ready for review September 12, 2023 15:57
@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Merging #33183 (f7e97d4) into master (d34a881) will decrease coverage by 0.1%.
Report is 3 commits behind head on master.
The diff coverage is 86.6%.

@@            Coverage Diff            @@
##           master   #33183     +/-   ##
=========================================
- Coverage    81.9%    81.9%   -0.1%     
=========================================
  Files         789      789             
  Lines      213733   213742      +9     
=========================================
- Hits       175181   175170     -11     
- Misses      38552    38572     +20     

Copy link
Contributor

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@brooksprumo brooksprumo merged commit acd7ad9 into solana-labs:master Sep 12, 2023
@brooksprumo brooksprumo deleted the accounts-hash-cache/remove-old-dirs branch September 12, 2023 17:33
@brooksprumo brooksprumo added the v1.16 PRs that should be backported to v1.16 label Sep 12, 2023
mergify bot pushed a commit that referenced this pull request Sep 12, 2023
brooksprumo added a commit that referenced this pull request Sep 13, 2023
brooksprumo added a commit that referenced this pull request Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.16 PRs that should be backported to v1.16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants